package com.Shoping.entity;

/**
 * 商品实体类
 */
public class Category {

    private Integer cgId;//商品id  主键

    private String cgName;//商品名称

    public Category(Integer cgId, String cgName) {
        this.cgId = cgId;
        this.cgName = cgName;
    }

    public Category() {
    }

    public Integer getCgId() {
        return cgId;
    }

    public void setCgId(Integer cgId) {
        this.cgId = cgId;
    }

    public String getCgName() {
        return cgName;
    }

    public void setCgName(String cgName) {
        this.cgName = cgName;
    }

    @Override
    public String toString() {
        return "Category{" +
                "cgId=" + cgId +
                ", cgName='" + cgName + '\'' +
                '}';
    }
}
